import requests

for i in range(5):
    payload={'jsv': '2.5.1',
'appKey': '12574478',
't': '1646787502712',
'sign': '418e29b1a0db74a126fe7d6cde31f538',
'api': 'mtop.alimama.union.xt.en.api.entry',
'v': '1.0',
'AntiCreep': 'true',
'timeout': '20000',
'AntiFlood': 'true',
'type': 'jsonp',
'dataType': 'jsonp',
'callback': 'mtopjsonp2',
'data': '{"pNum":"f"{i}"","pSize":"60","refpid":"mm_26632258_3504122_32538762","variableMap":"{\\"q\\":\\"电脑\\",\\"navigator\\":false,\\"clk1\\":\\"d2bf1e422a378c9a2f3642fe001b22ce\\",\\"union_lens\\":\\"recoveryid:201_33.51.64.168_18801514_1646787464926;prepvid:201_33.51.64.168_18801514_1646787464926\\",\\"recoveryId\\":\\"201_33.50.249.169_20046047_1646787497965\\"}","qieId":"36308","spm":"a2e0b.20350158.31919782","app_pvid":"201_33.50.249.169_20046047_1646787497965","ctm":"spm-url:a2e0b.20350158.search.1;page_url:https%3A%2F%2Fuland.taobao.com%2Fsem%2Ftbsearch%3Frefpid%3Dmm_26632258_3504122_32538762%26keyword%3D%25E7%2594%25B5%25E8%2584%2591%26clk1%3Dd2bf1e422a378c9a2f3642fe001b22ce%26upsId%3Dd2bf1e422a378c9a2f3642fe001b22ce%26spm%3Da2e0b.20350158.search.1%26pid%3Dmm_26632258_3504122_32538762%26union_lens%3Drecoveryid%253A201_33.51.64.168_18801514_1646787464926%253Bprepvid%253A201_33.51.64.168_18801514_1646787464926"}'}
    url = "https://h5api.m.taobao.com/h5/mtop.alimama.union.xt.en.api.entry/1.0/?jsv=2.5.1&appKey=12574478&t=1646787502712&sign=418e29b1a0db74a126fe7d6cde31f538&api=mtop.alimama.union.xt.en.api.entry&v=1.0&AntiCreep=true&timeout=20000&AntiFlood=true&type=jsonp&dataType=jsonp&callback=mtopjsonp2&data=%7B%22pNum%22%3A0%2C%22pSize%22%3A%2260%22%2C%22refpid%22%3A%22mm_26632258_3504122_32538762%22%2C%22variableMap%22%3A%22%7B%5C%22q%5C%22%3A%5C%22%E7%94%B5%E8%84%91%5C%22%2C%5C%22navigator%5C%22%3Afalse%2C%5C%22clk1%5C%22%3A%5C%22d2bf1e422a378c9a2f3642fe001b22ce%5C%22%2C%5C%22union_lens%5C%22%3A%5C%22recoveryid%3A201_33.51.64.168_18801514_1646787464926%3Bprepvid%3A201_33.51.64.168_18801514_1646787464926%5C%22%2C%5C%22recoveryId%5C%22%3A%5C%22201_33.50.249.169_20046047_1646787497965%5C%22%7D%22%2C%22qieId%22%3A%2236308%22%2C%22spm%22%3A%22a2e0b.20350158.31919782%22%2C%22app_pvid%22%3A%22201_33.50.249.169_20046047_1646787497965%22%2C%22ctm%22%3A%22spm-url%3Aa2e0b.20350158.search.1%3Bpage_url%3Ahttps%253A%252F%252Fuland.taobao.com%252Fsem%252Ftbsearch%253Frefpid%253Dmm_26632258_3504122_32538762%2526keyword%253D%2525E7%252594%2525B5%2525E8%252584%252591%2526clk1%253Dd2bf1e422a378c9a2f3642fe001b22ce%2526upsId%253Dd2bf1e422a378c9a2f3642fe001b22ce%2526spm%253Da2e0b.20350158.search.1%2526pid%253Dmm_26632258_3504122_32538762%2526union_lens%253Drecoveryid%25253A201_33.51.64.168_18801514_1646787464926%25253Bprepvid%25253A201_33.51.64.168_18801514_1646787464926%22%7D"

    headers = {
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36',
    'referer': 'https://uland.taobao.com/',
    'accept-language': 'zh-CN,zh;q=0.9',
    'cookie': 'cna=74aWGrOntgkCASSOntSec4mr; t=4e18018f99026d35e950c510151d9c92; _m_h5_tk=52864f5e3ae482bd8ea4c8a73302217a_1646795623444; _m_h5_tk_enc=7ebfedc2e48d44c1e5d9877b6ccccc55; xlly_s=1; tfstk=c_Y5BNDE582WyVoUzQGqzpJfchbCwRV1O06kNHkx-KvfOO1mePW6SmK3pw5dG; l=eBjTzSQPLP7FOfmjKOfanurza77OSIRYYuPzaNbMiOCPOn5B5G0lW6mkpmY6C3GVhsMMR3lrOrBwBeYBqQAonxvtNSVsr4Dmn; isg=BCgohoLk3uzlC_JUrlZc9hVp-RY6UYxbFb4_puJZdKOWPcinimFc6757NNXNMEQz; _m_h5_tk=4c8fb17d30a3607e29a8fc6668336ef4_1646796520114; _m_h5_tk_enc=d5e5e86f1b5bd9e1790d1998b7e29300'
    }

    response = requests.request("GET", url, headers=headers, data=payload)

    print(response.text)
